home *** CD-ROM | disk | FTP | other *** search
/ VRML 2.0 Sourcebook (2nd Edition) / VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso / book / unix / ch15 / 15fig10.wrl < prev    next >
Text File  |  1996-09-22  |  606b  |  36 lines

  1. #VRML V2.0 utf8
  2. # The VRML 2.0 Sourcebook
  3. # Copyright [1997] By
  4. # Andrea L. Ames, David R. Nadeau, and John L. Moreland
  5. Group {
  6.     children [
  7.         Shape {
  8.             appearance Appearance {
  9.                 material Material {
  10.                     diffuseColor 1.0 0.9 0.7
  11.                 }
  12.                 
  13.             }
  14.             geometry Extrusion {
  15.                 convex FALSE
  16.                 crossSection [
  17.                 # Room outline
  18.                     -0.5  1.0,  -0.5  0.8,
  19.                     -1.8  0.8,  -1.8 -0.8,
  20.                      1.8 -0.8,   1.8  0.8,
  21.                      0.5  0.8,   0.5  1.0,
  22.                      2.0  1.0,   2.0 -1.0,
  23.                     -2.0 -1.0,  -2.0  1.0,
  24.                     -0.5  1.0
  25.                 ]
  26.                 spine [
  27.                 # Straight-line
  28.                     0.0 0.0 0.0,
  29.                     0.0 2.0 0.0
  30.                 ]
  31.             }
  32.             
  33.         }
  34.     ]
  35. }
  36.